package com.ayu.shortlink.engine.common.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 本地事务消息状态枚举
 */
@RequiredArgsConstructor
public enum LocalMessageStatusEnum {
    MESSAGE_PENDING(0), // 待发送
    MESSAGE_SEND_OK(1), // 发送成功
    MESSAGE_SEND_FAIL(2); // 发送失败

    @Getter
    private final Integer status;
}
